//
//  Common.swift
//  Weibo2
//
//  Created by teacher on 16/11/15.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

//第三方登录授权配置信息
let client_id = "1452064863"
let client_secret = "73ddacbe5e838012d50de6595220d6d2"
let redirect_uri = "http://www.itheima.com"

let ScreenWidth = UIScreen.main.bounds.width
let ScreenHeight = UIScreen.main.bounds.height



//MARK: 作为通知标示
let choseRootViewController = "choseRootViewController"
let errorTip = "没有网,赶紧洗洗睡吧"

//MARK: 随机色
func randomColor() -> UIColor {
    let r = CGFloat(arc4random() % 256) / 255.0
    let g = CGFloat(arc4random() % 256) / 255.0
    let b = CGFloat(arc4random() % 256) / 255.0
    return UIColor(red: r, green:g, blue: b, alpha: 1)
    

}
